package com.fnzn.entranceGuard.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * <p>
 * 房屋基本信息
 * </p>
 *
 * @author sxf
 * @since 2018-09-07
 */
public class UnitHouseVo {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "id",type = IdType.UUID)
    private String id;
    /**
     * 楼宇ID
     */
    private String buildingId;
    /**
     * 单元ID
     */
    private String unitId;

    /**
     * 所属楼层
     */
    private int floor;

    /**
     * 物业费截至日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date proertyEndtime;

    private String communityId;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public int getFloor() {
        return floor;
    }

    public void setFloor(int floor) {
        this.floor = floor;
    }

    public Date getProertyEndtime() {
        return proertyEndtime;
    }

    public void setProertyEndtime(Date proertyEndtime) {
        this.proertyEndtime = proertyEndtime;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

}
